package com.fary.service;

import com.fary.dto.PaymentInfoDTO;
import com.fary.entity.PaymentInfo;

public interface OpenPaymentCoreService {
    String createPayToken(PaymentInfoDTO paymentInfoDto);

    PaymentInfo getPayTokenPaymentInfo(String payToken);

    PaymentInfo getOrderIdByPaymentInfo(String orderId);

    int updatePaymentStatus(PaymentInfo paymentInfo, Integer paymentStatus);

    int updatePaymentStatusOk(PaymentInfo paymentInfo);
}
